﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace MultiMedia
{
    public partial class VDOPlayer : PhoneApplicationPage
    {
        public VDOPlayer()
        {
            InitializeComponent();
        }

        private void playMedia_Click(object sender, System.EventArgs e)
        {
        	// TODO: Add event handler implementation here.
			media.Play();		
        }

        private void pauseMedia_Click(object sender, System.EventArgs e)
        {
        	// TODO: Add event handler implementation here.
			media.Pause();		
        }

        private void stopMedia_Click(object sender, System.EventArgs e)
        {
        	// TODO: Add event handler implementation here.
			media.Stop();
        }

        private void muteMedia_Click(object sender, System.EventArgs e)
        {
        	// TODO: Add event handler implementation here.
			media.IsMuted = !media.IsMuted;
        }
    }
}